package com.platform.qujia.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class CustomerElectronicDeputyCard implements Serializable {

    @ApiModelProperty(value = "副卡id")
    private Long id;

    @ApiModelProperty(value = "主卡id")
    private Long mainId;

    @ApiModelProperty(value = "主卡列表id")
    private List<Integer> mainIdList;

    @ApiModelProperty(value = "会员用户id")
    private Long userId;

    @ApiModelProperty(value = "规则id")
    private Long ruleId;

    @ApiModelProperty(value = "会员编码")
    private String customerNo;

    @ApiModelProperty(value = "客户名")
    private String customerName;

    @ApiModelProperty(value = "用户手机号")
    private String mobilePhone;

    @ApiModelProperty(value = "电子储蓄卡余额")
    private BigDecimal amt;

    @ApiModelProperty(value = "电子卡主卡余额")
    private BigDecimal mainCardAmt;

    @ApiModelProperty(value = "电子会员卡类型：1汽油，2柴油，3LNG 4CNG 0 通用卡")
    private String cardOilsType;

    @ApiModelProperty(value = "实际存的是油企ID，多站通用时不为空")
    private Integer stationId;

    @ApiModelProperty(value = "油站名称")
    private String stationName;

    @ApiModelProperty(value = "存的是油站ID，单站使用时不为空")
    private Integer stationId2;

    @ApiModelProperty(value = "删除标识 0：未删除,1：删除")
    private String isDeleted;

    @ApiModelProperty(value = "电子卡创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty(value = "添加副卡规则类型：1:共享，2:分配")
    private String cardRuleType;

    @ApiModelProperty(value = "主卡手机号")
    private String mainMobilePhone;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMainId() {
        return mainId;
    }

    public void setMainId(Long mainId) {
        this.mainId = mainId;
    }

    public List<Integer> getMainIdList() {
        return mainIdList;
    }

    public void setMainIdList(List<Integer> mainIdList) {
        this.mainIdList = mainIdList;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRuleId() {
        return ruleId;
    }

    public void setRuleId(Long ruleId) {
        this.ruleId = ruleId;
    }

    public String getCustomerNo() {
        return customerNo;
    }

    public void setCustomerNo(String customerNo) {
        this.customerNo = customerNo == null ? null : customerNo.trim();
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName == null ? null : customerName.trim();
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone == null ? null : mobilePhone.trim();
    }

    public BigDecimal getAmt() {
        return amt;
    }

    public void setAmt(BigDecimal amt) {
        this.amt = amt;
    }

    public BigDecimal getMainCardAmt() {
        return mainCardAmt;
    }

    public void setMainCardAmt(BigDecimal mainCardAmt) {
        this.mainCardAmt = mainCardAmt;
    }

    public String getCardOilsType() {
        return cardOilsType;
    }

    public void setCardOilsType(String cardOilsType) {
        this.cardOilsType = cardOilsType == null ? null : cardOilsType.trim();
    }

    public Integer getStationId() {
        return stationId;
    }

    public void setStationId(Integer stationId) {
        this.stationId = stationId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName == null ? null : stationName.trim();
    }

    public Integer getStationId2() {
        return stationId2;
    }

    public void setStationId2(Integer stationId2) {
        this.stationId2 = stationId2;
    }

    public String getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(String isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCardRuleType() {
        return cardRuleType;
    }

    public void setCardRuleType(String cardRuleType) {
        this.cardRuleType = cardRuleType;
    }

    public String getMainMobilePhone() {
        return mainMobilePhone;
    }

    public void setMainMobilePhone(String mainMobilePhone) {
        this.mainMobilePhone = mainMobilePhone;
    }
}